package net.learn.system.convert;

import net.learn.system.entity.SysVideoEntity;
import net.learn.system.entity.SysVideoResultEntity;
import net.learn.system.vo.SysVideoResultVO;
import net.learn.system.vo.SysVideoVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;


@Mapper
public interface SysVideoResultConvert {
    SysVideoResultConvert INSTANCE = Mappers.getMapper(SysVideoResultConvert.class);

    SysVideoResultVO convert(SysVideoResultEntity entity);

    SysVideoResultEntity convert(SysVideoResultVO vo);

    List<SysVideoResultVO> convertList(List<SysVideoResultEntity> list);

}
